package com.example.mysql.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * <p>
 *
 * </p>
 *
 * @author developer
 * @since 2024-08-12
 */
@Getter
@Setter
@TableName("`tbl_record_log`")
public class TblRecordLog {

    @TableId("`id`")
    private String id;

    @TableField("`channel`")
    private String channel;

    @TableField("`sys_date`")
    private LocalDate sysDate;

    @TableField("`sys_time`")
    private LocalTime sysTime;

    @TableField("`create_time`")
    private LocalDateTime createTime;

    @TableField(value = "`update_time`", updateStrategy = FieldStrategy.NEVER)
    private LocalDateTime updateTime;
}
